/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.magicland;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author eduardo
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static GUI gui;
    public static Localization loc;
    public static void main(String[] args) {
        
       
          Config conf= new Config();
       //  GameManager gameManager =  GameManager.getInstance();
        
        //Carrega o idioma
        loc = Localization.getInstance();
        loc.loadResource("localized_en.txt");
        if(Config.Debug){
                
                loc.getText("MENU_CONS");
                loc.getText("MENU_PROS");
                loc.getText("MENU_TITLE");
                loc.getText("MENU_DESCRIPTION");
        }
        
      
        GameManager.getInstance().init();
        
                
        //to-do: carregar tutorial
        
        //to-do: carregar mission
        
        gui = new GUI();
        gui.setVisible(true);
        gui.setTutorialMap();
        gui.setLeftMapToExplorer();
        //gui.setRigthMapToExplorer();
        gui.update();
        
        
       
    }
    
    
    
     
    
    
    
    
}
